-- GENERATED SPELL FOR [Burning Blade Invoker] --


function spell0_4705(pUnit, Event) --@Flame Buffet,n/a--
pUnit:FullCastSpellOnTarget(9658,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_4705', 47200, 1)
end

function Sorts_4705(pUnit, Event)
local choix_sorts_4705 = math.random(0, 0)
if choix_sorts_4705 == 0 then
pUnit:RegisterEvent('spell0_4705', 1, 1)
end
end

function mob4705_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_4705', math.random(1500, 3000), 1)
end

function mob4705_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4705_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4705_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(4705, 1, 'mob4705_Action')
RegisterUnitEvent(4705, 2, 'mob4705_Leave')
RegisterUnitEvent(4705, 3, 'mob4705_Kill')
RegisterUnitEvent(4705, 4, 'mob4705_Die')
